<div class="sidebar">
    <img src="<?php echo base_url(); ?>/images/logo.png" alt="" />
    <div class="menu_wrapper">
        <h3>Menu</h3>
        <ul>
            <?php
                $_menu = get_menu("home");
                if (isset($menu)){
                    $_menu = $menu;
                }
                foreach ($_menu as $item){
                    echo "<li><a href=".site_url($item['uri'])." >".$item['label']."</a></li>";
                }
            ?>
        </ul>
    </div>